package com.recsmile.sgs.entity.cards.equips;

import com.recsmile.sgs.entity.Card;

/**
 * Created by Administrator on 2016/8/29.
 */
public abstract class Equipment extends Card{
    private static final long serialVersionUID = 5968539700238484665L;

    private EquipmentType equipmentType;// 1.Weapon 2.Shield 3.Horse+ 4.Horse-
    private boolean equipped;
    protected String name;
    public String getName(){
        return name;
    }

    public enum EquipmentType {
        WEAPON, SHIELD, HORSEPLUS, HORSEMINUS
    }

    public void setEquipped(boolean b) {
        equipped = b;
    }

    public boolean isEquipped() {
        return equipped;
    }

    public EquipmentType getEquipmentType() {
        return equipmentType;
    }
}
